Tootsville::Infinity-Give

Function

Infinity-Give names a function, with lambda list (D USER RECIPIENT/S):

Give an item to another user.

Lisp GIVE = JSON give

XXX: notify the recipient using notifications (currently using a Message Box popup message)

jso -

 { slot: ITEM-UUID, to: TOOT-NAME } 

u - giver

If the item is currently equipped or being worn, it will be unequipped as it is being given away.

412 Precondition Failed

An item cannot be given if you do not possess it to begin with.

404 Not Found

The item and the recipient must each exist.

403 Forbidden

Certain items cannot be traded. This includes gifting, dropping, &c. See ‘ITEM-TEMPLATE-CAN-TRADE-P’ for a discussion.

Changes from 1.2 to 2.0

Players used to be unable to gift items to non-VIT members; with the abolition of VIT status, everyone is very important and can receive items.

File

Defined in file src/infinity/legacy-commands.lisp.